![]() |
![]() |
![]() |
|
PHY MAKE DISTANCE JOINT
Make a new distance joint.
PHY MAKE DISTANCE JOINT ID, A, B, anchorX#, anchorY#, anchorZ#, minDistance#, maxDistance# PHY MAKE DISTANCE JOINT ID, A, B
ID Integer A Integer B Integer anchorX# Float anchorY# Float anchorZ# Float minDistance# Float maxDistance# Float
There are two approaches to creating a distance joint. The command can be called passing in a full set of parameters to create the joint in one line ( some defaults are used when this is the case ). If you choose this option then the joint is built straight away. Alternatively make a distance joint passing in three parameters and then proceed to set properties such as the local anchor etc and finally build the joint using phy build distance joint. The second option for creating a distance joint may be preferable when you want complete control over the settings.
No example code is provided for this command |